Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bootclasspath jar in proguard genrule #23067

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Jul 23, 2024

Previously, proguard may attempt to access the Java runtime jmods, which aren't declared as inputs.

Fixes #22787 (comment)

Previously, proguard may attempt to access the Java runtime jmods, which aren't declared as inputs.
@fmeum fmeum requested a review from meteorcloudy July 23, 2024 07:02
@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label Jul 23, 2024
@fmeum
Copy link
Collaborator Author

fmeum commented Jul 23, 2024

@werkt Could you verify that this fixes the issue for you?

@meteorcloudy meteorcloudy added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Jul 23, 2024
@werkt
Copy link
Contributor

werkt commented Jul 23, 2024

@werkt Could you verify that this fixes the issue for you?

This checks out. Thanks for the speedy fix. CI could use some remote execution, I'll have to check to see if this gets a positive result with bazel-remote or something similar to be embedded.

@sgowroji sgowroji added the team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website label Jul 23, 2024
@github-actions github-actions bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label Jul 24, 2024
@fmeum fmeum deleted the 22787-fix-non-hermeticity branch July 24, 2024 08:42
@fmeum
Copy link
Collaborator Author

fmeum commented Sep 22, 2024

@bazel-io fork 7.4.0

fmeum added a commit to fmeum/bazel that referenced this pull request Sep 22, 2024
Previously, proguard may attempt to access the Java runtime jmods, which aren't declared as inputs.

Fixes bazelbuild#22787 (comment)

Closes bazelbuild#23067.

PiperOrigin-RevId: 655470599
Change-Id: I5ff6cd9c32f553fc3d8364ba1b6a4f4e3417418b
fmeum added a commit to fmeum/bazel that referenced this pull request Sep 23, 2024
Cherry-picks of:
* Strip unnecessary Bazel server jar contents (bazelbuild#22787)
* Use bootclasspath jar in proguard genrule (bazelbuild#23067)

Closes bazelbuild#23707
Closes bazelbuild#23708
@iancha1992
Copy link
Member

The changes in this PR have been included in Bazel 7.4.0 RC1. Please test out the release candidate and report any issues as soon as possible.
If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=7.4.0rc1. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-OSS Issues for the Bazel OSS team: installation, release processBazel packaging, website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants